package com.stylefeng.guns.modular.system.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 异常订单审核表
 * </p>
 *
 * @author chengshuai
 * @since 2018-10-12
 */
@TableName("ex_order_exam")
public class ExOrderExam extends Model<ExOrderExam> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;
    /**
     * 订单单号
     */
    @TableField("order_sn")
    private String orderSn;
    /**
     * 审核部门id
     */
    @TableField("sys_dept_id")
    private Integer sysDeptId;
    /**
     * 审核人id
     */
    @TableField("sys_user_id")
    private Integer sysUserId;
    /**
     * 审核意见
     */
    private String opinion;
    /**
     * 操作时间
     */
    @TableField("operate_time")
    private Date operateTime;
    /**
     * 创建人
     */
    private String operator;
    /**
     * 创建时间
     */
    private Date createtime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public Integer getSysDeptId() {
        return sysDeptId;
    }

    public void setSysDeptId(Integer sysDeptId) {
        this.sysDeptId = sysDeptId;
    }

    public Integer getSysUserId() {
        return sysUserId;
    }

    public void setSysUserId(Integer sysUserId) {
        this.sysUserId = sysUserId;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public Date getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ExOrderExam{" +
        "id=" + id +
        ", orderSn=" + orderSn +
        ", sysDeptId=" + sysDeptId +
        ", sysUserId=" + sysUserId +
        ", opinion=" + opinion +
        ", operateTime=" + operateTime +
        ", operator=" + operator +
        ", createtime=" + createtime +
        "}";
    }
}
